<template>
  <div id="lawyer">
    <el-page-header @back="goBack" content="律师信息"></el-page-header><br>
    <el-row :gutter="20">
      <el-col :span=5>
        <el-row>
<!--          头像-->
          <el-card shadow="always">
            <el-image src="https://imgt.66law.cn/upload/t/202009/11/171657179.jpg"></el-image>
            <h3>张丽丽律师</h3>
            <el-button type="primary" icon="el-icon-trophy" circle></el-button>
            <el-button type="primary" icon="el-icon-medal-1" circle></el-button>
            <el-rate
                v-model="lawyerValue"
                disabled
                show-score
                text-color="#ff9900"
                score-template="{value}">
            </el-rate>
          </el-card>
        </el-row>
        <el-row>
<!--          基础简介-->
          <el-card shadow="always">
            <span>为我打分：</span>
            <el-rate v-model="value" show-text></el-rate><br>
            <el-button type="primary" icon="el-icon-phone" @click="goChat">咨询我</el-button>
          </el-card>
        </el-row>
      </el-col>
<!--      律师信息档案-->
      <el-col :span=19>
        <el-card>
          <h3>律师档案</h3>
          <span class="disTitle">执业地区：</span><span>{{this.diqu}}</span><br>
          <span class="disTitle">执业单位：</span><span>{{this.danwei}}</span><br>
          <span class="disTitle">律师职务：</span><span>{{this.zhiwu}}</span><br>
          <span class="disTitle">擅长领域：</span><span>{{this.lingyu}}</span><br>
          <span class="disTitle">服务时间：</span><span>{{this.time}}</span><br>
          <h3>律师简介</h3>
          <p>{{msg}}</p>
          <h3>擅长领域</h3>
          <el-button type="primary" round>合同纠纷</el-button>
          <el-button type="primary" round>婚姻家庭</el-button>
          <el-button type="primary" round>交通事故</el-button>
          <el-button type="primary" round>公司法</el-button>
          <el-button type="primary" round>民间借贷</el-button>
        </el-card>
      </el-col>
    </el-row>
  </div>
</template>

<script>
// import request from requ
export default {
  name: "NewLawyer",
  data() {
    return{
      lawyerValue: 4.5,
      diqu: '河南-郑州',
      name: window.location.search,
      danwei: '河南益仟律师事务所',
      zhiwu: '专职律师',
      lingyu: '合同纠纷、婚姻家庭、交通事故、公司法、民间借贷',
      time: "09:00-21:00",
      msg: '张丽丽，河南益仟律师事务所执业律师，2014年毕业于郑州大学法学院。自毕业以来一直从事法律事务，期间办理过劳动争议、离婚、民间借贷、交通事故以及合同纠纷案件。办理案件的过程中体会到案件有大小，利益无小事，当事人委托的每一个案件都要认真负责地对待，切实维护好委托人的合法权益，正所谓“受人之托，忠人之事”。 ',
    }
  },
  computed: {

  },
  methods: {
    goBack() {
      window.location = "index.html"
    },
    goChat() {
      window.location = "http://localhost:8080/websocket/用户：张三"
    }
  }
}
</script>

<style scoped>
.disTitle {
  color: #909399;
}
</style>